<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <h2 >收件箱</h2>   
  <button type="button" class="btn btn-default" ng-click="wasteInInfo()"> 废弃</button>
  <button type="button" class="btn btn-default" ng-click="deleteInInfo()"> 彻底删除</button>
  <button type="button" class="btn btn-default" ng-click="repeat()"> 转发</button>
  <button type="button" class="btn btn-default" ng-click="setRead()"> 标为已读</button>

          <div class="table-responsive" ng-controller="checkController"  >
            <table class="table  table-hover .table-bordered">
              <thead>
                <tr>
                  <th><input type="checkbox" name="slectAll" id="selectAllInInfo" ng-click="checkAllInInfo()"></th>
                 	<th>主题</th>
                  	<th>状态</th>
                  	<th>发件人</th>
                  	<th>时间</th>
                  	<th>操作</th>
                </tr>
              </thead>
              <tbody>
                <tr ng-repeat= "item in inInfoList">
                  <td><input type="checkbox" name="inInfobox" value="{{item.infoId}}" ></td>
                  <td><a href="#" ng-click="getMailInInfo( item )">{{ item.infoName }}</a></td>
                  <td>{{ item.infoStatus }}</td>
                  <td>{{ item.infoSendUserName}}</td>
                  <td>{{ item.infoTime }}</td>
                  <td><a href="#" ng-click="deleteInInfo( item.infoId )">删除</a>			<a href="#" ng-click="wasteInInfo( item.infoId )">废弃</a>			<a href="#" ng-click="repeat( item.infoId )">转发</a>   </td>
                </tr>
              </tbody>
            </table>
            <ul class="pagination navbar-right">
                  <li><a href="#" ng-click = "pageInInfoManagement( InInfoManagementPage - 1)">&laquo;</a></li>
                  <li><a href="#"> {{ InInfoManagementPage }} </a></li>
                   <li><a href="#" ng-click = "pageInInfoManagement( InInfoManagementPage + 1 )">&raquo;</a></li>
              </ul>
          </div><!-- /table-responsive -->
        </div><!--/col-sm-9 -->